# (c) 2008 by Florina Nacu < florina@omnidatagrup.ro >

project(Soferi)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Soferi_SRCS soferiplugin.cpp soferi.cpp)
QT4_WRAP_CPP(Soferi_SRCS soferiplugin.h soferi.h)
QT4_WRAP_UI(Soferi_SRCS soferi.ui)
QT4_ADD_RESOURCES(Soferi_SRCS soferi.qrc)

add_library(Soferi SHARED ${Soferi_SRCS})
add_dependencies(Soferi KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Soferi KontAMabil ${QT_LIBRARIES})

install(TARGETS Soferi ${INSTALL_PLUGINS_DEFAULT_ARGS})
